module.exports = {
  userFormateError: {
    code: '10001',
    message: '用户名或密码为空',
    result: '',
  },
  userAlreadyExited: {
    code: '10002',
    message: '用户已经存在',
    result: '',
  },
  userRegiisterError: {
    code: '10003',
    message: '用户注册错误',
    result: '',
  },
  userDoesNotExist: {
    code: '10004',
    message: '用户不存在',
    result: '',
  },
  userLoginError: {
    code: '10005',
    message: '用户登录失败',
    result: '',
  },
  invarlidPassword: {
    code: '10006',
    message: '密码不匹配',
    result: '',
  },
  verifyPassError: {
    code: '10007',
    message: '新旧密码相同',
    result: '',
  },
  tokenExpiredError: {
    code: '10101',
    message: 'token已过期',
    result: '',
  },
  invalidToken: {
    code: '10102',
    message: '无效的token',
    result: '',
  },
  updatePassError: {
    code: '10008',
    message: '修改密码失败',
    result: '',
  },
  hadNotAdminPremission: {
    code: '10103',
    message: '没有管理员权限',
    result: ''
  },
  formalError: {
    code: '10201',
    message: '图片格式不支持',
    result: ''
  },
  fileuploadError: {
    code: '10202',
    message: '图片上传失败',
    result: ''
  },
  goodsFormatError: {
    code: '10203',
    message: '商品格式错误',
    result: ''
  },
  publishGoodsError: {
    code: '10204',
    message: '发布商品失败',
    result: ''
  },
  invalidGoodsError: {
    code: '10205',
    message: '无效的商品信息',
    result: ''
  },
  updateGoodsError: {
    code: '10206',
    message: '更新失败',
    result: ''
  },
  invalidGoodsID: {
    code: '10207',
    message: '无效的商品id',
    result: ''
  },
  putawayGoodsError: {
    code: '10208',
    message: '上下架失败',
    result: ''
  },
  cartFormatError: {
    code: '10301',
    message: '购物车数据格式错误',
    result: ''
  },
  addrFormatError: {
    code: '10401',
    message: '地址数据格式错误',
    result: ''
  },
  orderFormatError: {
    code: '10501',
    message: '订单数据格式错误',
    result: ''
  },
}